home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: 2001 Haziran
/
CHIP Haziran2001.iso
/
prog
/
share
/
04
/
setup.exe
/
MM6.Cab
/
F1546_Timeout.action.F6A680DD_F3FB_4CF3_BABB_0D0F06E630F5
< prev
next >
Wrap
Text File
|
2000-08-17
|
4KB
|
81 lines
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Timeout Action</title>
<meta name="generator" content="Adobe GoLive 5">
</head>
<body bgcolor="white">
<center>
<font size="6">Timeout Action</font>
<hr>
</center>
<csactionclass name="Timeout" function="CSTimeout" nsversion="4" ieversion="4" actiontype="3">
<csactionparam name="timeout" type="GLActionFloatParam"></csactionparam>
</csactionclass>
<p>Timeout Action Main Script
<script language="JavaScript1.2" cyberversion="N1.2"><!--
function CSTimeout (condition) {
var result = false;
if (typeof (gCurrentIdleObject) == "undefined") return result;
if (gCurrentIdleObject.lastTime) {
var t=new Date();
if (t.getTime() >= gCurrentIdleObject.lastTime) {
if (t.getTime() >= gCurrentIdleObject.nextTime) {
gCurrentIdleObject.lastTime = t.getTime() + condition[1]*1000;
gCurrentIdleObject.nextTime = gCurrentIdleObject.lastTime + condition[1]*1000;
return false;
}
return true;
}
} else {
var t=new Date();
gCurrentIdleObject.lastTime = t.getTime() + condition[1]*1000;
gCurrentIdleObject.nextTime = gCurrentIdleObject.lastTime + condition[1]*1000;
}
return result;
}
// -->
</script>
</p>
<table cool width="221" height="153" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx gridy="16" showgridy bgcolor="#eeeeee">
<tr height="1" cntrlrow>
<td width="1" height="1"><spacer type="block" width="1" height="1"></td>
<td width="4" height="1"><spacer type="block" width="4" height="1"></td>
<td width="76" height="1"><spacer type="block" width="76" height="1"></td>
<td width="63" height="1"><spacer type="block" width="63" height="1"></td>
<td width="77" height="1"><spacer type="block" width="77" height="1"></td>
</tr>
<tr height="6">
<td width="1" height="6"><spacer type="block" width="1" height="6"></td>
<td width="4" height="6"><spacer type="block" width="4" height="6"></td>
<td width="76" height="6"><spacer type="block" width="76" height="6"></td>
<td width="63" height="6"><spacer type="block" width="63" height="6"></td>
<td width="77" height="6"><spacer type="block" width="77" height="6"></td>
</tr>
<tr height="3">
<td width="1" height="3"><spacer type="block" width="1" height="3"></td>
<td width="4" height="3"><spacer type="block" width="4" height="3"></td>
<td width="76" height="3"><spacer type="block" width="76" height="3"></td>
<td width="63" height="146" colspan="1" rowspan="2" valign="top" align="left" xpos="80">
<csactioncntrl name="timeout" x="80" y="6" width="60" height="17" alignx="left" aligny="top">
</td>
<td width="77" height="3"><spacer type="block" width="77" height="3"></td>
</tr>
<tr height="143">
<td width="1" height="143"><spacer type="block" width="1" height="143"></td>
<td width="4" height="143"><spacer type="block" width="4" height="143"></td>
<td width="76" height="143" colspan="1" rowspan="1" valign="top" align="left" xpos="4">
<csactioncntrl type="InfoText" value="Timeout" x="4" y="9" width="75" height="17" alignx="left" aligny="top">
</td>
<td width="77" height="143" colspan="1" rowspan="1" valign="top" align="left" xpos="143">
<csactioncntrl type="InfoText" value="sec." x="143" y="9" width="44" height="17" alignx="left" aligny="top">
</td>
</tr>
</table>
</body>
</html>